package mapEditor.vo
{
	import flash.events.Event;
	import flash.events.EventDispatcher;

	public class ResItemItemVO extends EventDispatcher
	{
		private var _assetID:int;
		private var _x:int;
		private var _y:int;
		private var _z:int;
		private var _visible:Boolean=true;
		private var _selected:Boolean=false;
		
		public function ResItemItemVO()
		{
		}

		public function get assetID():int
		{
			return _assetID;
		}

		public function set assetID(value:int):void
		{
			_assetID = value;
		}

		public function get x():int
		{
			return _x;
		}

		public function set x(value:int):void
		{
			_x = value;
		}

		public function get y():int
		{
			return _y;
		}

		public function set y(value:int):void
		{
			_y = value;
		}

		public function dispose():void
		{
			
		}

		public function get visible():Boolean
		{
			return _visible;
		}

		public function set visible(value:Boolean):void
		{
			_visible = value;
		}
		
		public function get selected():Boolean
		{
			return _selected;
		}

		public function set selected(value:Boolean):void
		{
			_selected = value;
		}
		
		public function change():void
		{
			dispatchEvent(new Event(Event.CHANGE));
		}

		public function get z():int
		{
			return _z;
		}

		public function set z(value:int):void
		{
			_z = value;
		}

	}
}